package com.ruoyi.datastatistics.wxentity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MapTerminalInfo {
    @JsonProperty("Id")
    private Integer Id;

    @JsonProperty("TerminalName")
    private String TerminalName;

    @JsonProperty("IMEI")
    private String IMEI;

    @JsonProperty("CurrentTerminalVol")
    private BigDecimal TerminalVol;

    @JsonProperty("TerminalFactoryID")
    private String FirstSupplierID;

    @JsonProperty("ModelName")
    private String ModelName;

    @JsonProperty("TerminalAddress")
    private String communicateAddress;

    @JsonProperty("ReadDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ReadDate;

    @JsonProperty("CurrentReadNumber")
    private BigDecimal ReadNumber;

    @JsonProperty("CurrentPressure")
    private BigDecimal Pressure;

    @JsonProperty("Caliber")
    private String Caliber;

    @JsonProperty("CurrentTotalFlow")
    private BigDecimal TotalFlow;

    @JsonProperty("CurrentReverseNumber")
    private BigDecimal ReverseNumber;

    @JsonProperty("Lng")
    private String Lng;

    @JsonProperty("Lat")
    private String Lat;

    @JsonProperty("locationNb")
    private long locationNb;

    @JsonProperty("TerminalID")
    private String TerminalID;
}
